Skip to content

Changed testing times, added test file#8

Open
OscarCharlieST wants to merge 6 commits intoUCL-COMP0233-2022-2023:mainfrom
OscarCharlieST:main
Open

Changed testing times, added test file#8
OscarCharlieST wants to merge 6 commits intoUCL-COMP0233-2022-2023:mainfrom
OscarCharlieST:main

Conversation

@OscarCharlieST
Copy link

I accidentally named my file 'test-times' instead of 'test_times'. Evidently - and _ parse differently, since pytest didn't recognise 'test-times' as a file containing tests for the repo. Checking the documentation, it seems that files must start or end with the word 'test', so a file name like 'test_times' or 'time_test' would work, but 'time-test' or 'time_test_2' wouldn't.

Answers UCL-MPHY0021-21-22/RSE-Classwork#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant